from __init__ import app
import uvicorn

@app.get("/")
def read_root():
    return {"Hello": "World"}

if __name__ == "__main__":
    # 使用 uvicorn.run 启动应用
    uvicorn.run(
        'main:app', 
        host="127.0.0.1", 
        port=9099, 
        reload=True,
        log_level="debug"
    )